<template>

</template>

<script setup>
import { getInfo } from "@/apis/getInfoJson";
import Cookies from "js-cookie";
getInfo("post", "login", {
  username: "202108190248",
  password: "202108190248",
})
  .then((res) => {
    Cookies.set("token", res.data);
    console.log("登录成功");
  })
  .catch((err) => {
    console.log(err);
  });
</script>

<style>
</style>